package _543cloud_new;

import java.util.ArrayList;

public class Right_node extends Node{
	
	public Right_node(String s, int n){
		super(s, n);
	}
	private boolean used = false; 
	public boolean isUsed() {
		return used;
	}

	public void setUsed(boolean used) {
		this.used = used;
	}
	public ArrayList<Left_node> r_l = new ArrayList<>();
	
	public void neighbor_available(Left_node ln){
		if(!r_l.contains(ln))
			r_l.add(ln);
	}


}
